<?php
/**
* @package   Cloud
* @author    YOOtheme http://www.yootheme.com
* @copyright Copyright (C) YOOtheme GmbH
* @license   http://www.gnu.org/licenses/gpl.html GNU/GPL
*/

// get template configuration
include($this['path']->path('layouts:template.config.php'));
	
?>
<!DOCTYPE HTML>
<html lang="<?php echo $this['config']->get('language'); ?>" dir="<?php echo $this['config']->get('direction'); ?>">

<head>
<?php echo $this['template']->render('head'); ?>

<script>
  (function() {
    var cx = '003524094716115149551:mjcyw3qjbey';
    var gcse = document.createElement('script'); gcse.type = 'text/javascript'; gcse.async = true;
    gcse.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') +
        '//www.google.com/cse/cse.js?cx=' + cx;
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(gcse, s);
  })();
</script>
</head>

<body id="page" class="page <?php echo $this['config']->get('body_classes'); ?>" data-config='<?php echo $this['config']->get('body_config','{}'); ?>'>

	<div id="page-bg">
	
		<div id="page-bg2">

			<?php if ($this['modules']->count('absolute')) : ?>
			<div id="absolute">
				<?php echo $this['modules']->render('absolute'); ?>
			</div>
			<?php endif; ?>
			
			<div id="block-toolbar">
			
				<div class="wrapper">
					
					<div id="toolbar" class="grid-block">
				
						<?php if ($this['modules']->count('toolbar-l') || $this['config']->get('date')) : ?>
						<div class="float-left">
						
							<?php if ($this['config']->get('date')) : ?>
							<time datetime="<?php echo $this['config']->get('datetime'); ?>"><?php echo $this['config']->get('actual_date'); ?></time>
							<?php endif; ?>
						
							<?php echo $this['modules']->render('toolbar-l'); ?>
							
						</div>
						<?php endif; ?>
							
						<?php if ($this['modules']->count('toolbar-r')) : ?>
						<div class="float-right"><?php echo $this['modules']->render('toolbar-r'); ?></div>
						<?php endif; ?>
					
					</div>
					
				</div>
				
			</div>
			
			<div class="wrapper grid-block">
		
				<header id="header">
		
					<div id="headerbar" class="grid-block">
					
						<?php if ($this['modules']->count('logo')) : ?>	
						<a id="logo" href="<?php echo $this['config']->get('site_url'); ?>"><?php echo $this['modules']->render('logo'); ?></a>
						<?php endif; ?>
						
						<?php if($this['modules']->count('headerbar')) : ?>
						<div class="left"><?php echo $this['modules']->render('headerbar'); ?></div>
						<?php endif; ?>
						
					</div>
		
					<div id="menubar" class="grid-block">
						
						<?php  if ($this['modules']->count('menu')) : ?>
						<nav id="menu"><?php echo $this['modules']->render('menu'); ?></nav>
						<?php endif; ?>
		
						<?php if ($this['modules']->count('search')) : ?>
						<div id="search"><?php echo $this['modules']->render('search'); ?></div>
						<?php endif; ?>
						
					</div>
				
					<?php if ($this['modules']->count('banner')) : ?>
					<div id="banner"><?php echo $this['modules']->render('banner'); ?></div>
					<?php endif;  ?>
				
				</header>
		
				<?php if ($this['modules']->count('top-a')) : ?>
				<section id="top-a" class="grid-block"><?php echo $this['modules']->render('top-a', array('layout'=>$this['config']->get('top-a'))); ?></section>
				<?php endif; ?>
				
				<?php if ($this['modules']->count('top-b')) : ?>
				<section id="top-b" class="grid-block"><?php echo $this['modules']->render('top-b', array('layout'=>$this['config']->get('top-b'))); ?></section>
				<?php endif; ?>
				
				<?php if ($this['modules']->count('innertop + innerbottom + sidebar-a + sidebar-b') || $this['config']->get('system_output')) : ?>
				<div id="main" class="grid-block">
				
					<div id="maininner" class="grid-box">
					
						<?php if ($this['modules']->count('innertop')) : ?>
						<section id="innertop" class="grid-block"><?php echo $this['modules']->render('innertop', array('layout'=>$this['config']->get('innertop'))); ?></section>
						<?php endif; ?>
		
						<?php if ($this['modules']->count('breadcrumbs')) : ?>
						<section id="breadcrumbs"><?php echo $this['modules']->render('breadcrumbs'); ?></section>
						<?php endif; ?>

						<?php if ($this['config']->get('system_output')) : ?>
						<section id="content" class="grid-block">

<?php if($_REQUEST['s']) echo '<div>
<div class="alignright style="color:#0000DE; text-decoration:underline; font-size:15px;">Ads by Google</div>
<div class="blue" style="color:#0000DE; text-decoration:underline; font-size:15px;">Capital One® <strong>Credit Cards</strong></div> 
<div class="green" style="color:#70B143;">www.CapitalOne.com/CreditCards</div>
<div>Find Our Best Credit Card for You. See if You Pre-Qualify in 60 Sec.</div>
<br>
<div class="blue" style="color:#0000DE; text-decoration:underline; font-size:15px;">Bank of America® <strong>Cards</strong> </div>
<div class="green" style="color:#70B143;">www.BankofAmerica.com/CreditCards</div>
<div>More Cash Back For The Things You Buy Most. Apply Online In Minutes.</div>
<br>
<div class="blue" style="color:#0000DE; text-decoration:underline; font-size:15px;">Discover® <strong>Card</strong> (Official)</div> 
<div class="green" style="color:#70B143;">www.DiscoverCard.com</div>
<div>0% Intro APR On Purchases & Balance Transfers. Excellent Credit Apply!</div>
<br>
<div class="blue" style="color:#0000DE; text-decoration:underline; font-size:15px;">Apply for <strong>Credit Cards</strong> </div>
<div class="green" style="color:#70B143;">www.CreditCards.com</div>
<div>Visa, MasterCard, and More. Compare Offers and Apply Online.</div>
<br>
<div class="blue" style="color:#0000DE; text-decoration:underline; font-size:15px;">2012 Best <strong>Credit Cards</strong> </div>
<div class="green" style="color:#70B143;">www.CardRatings.com</div>
<div>0% APR Credit Cards, No Annual Fee. Reviews by expert Curtis Arnold.</div> <br>


<div class="line" style="border-bottom: 1px solid #B9B9BB; margin-bottom: 20px;"></div>


<div class="green" style="color:#000; font-size:15px; font-weight:bold; margin-bottom:10px;">Results for loans</div>

<div class="blue" style="color:#0000DE; text-decoration:underline; font-size:15px;">THINGS STUDENT LOAN COMPANIES WON’T SAY</div> 
<div>Sure, they’ll help pay for college. But good luck paying them back. 1. Your Co-Signer Could Do You More Harm Than Good Before... <a href="">more</a></div>
<div class="green" style="color:#70B143;">Financesherpas > Loans </div>
<br>
<div class="blue" style="color:#0000DE; text-decoration:underline; font-size:15px;">ZERO PERCENT CAR LOANS: ARE THEY WORTH?</div> 
<div>SuZero percent car loans and low-interest car loans are harder to come by these days, but these deals are still out there.... <a href="">more</a></div>
<div class="green" style="color:#70B143;">Financesherpas > Loans </div>
<br>
<div class="blue" style="color:#0000DE; text-decoration:underline; font-size:15px;">HOW TO GET AN INTEREST-FREE CAR LOAN</div> 
<div>If you’re interested in borrowing money to buy a car without paying interest, you can. But the only way to get a truly ... <a href="">more</a></div>
<div class="green" style="color:#70B143;">Financesherpas > Loans </div>
<br>
<div class="blue" style="color:#0000DE; text-decoration:underline; font-size:15px;">REFINANCING GETS EVEN MORE ATTRACTIVE</div> 
<div>Homeowners who have resisted the urge to refinance their mortgages until now could be rewarded for their willpower.... <a href="">more</a></div>
<div class="green" style="color:#70B143;">Financesherpas > Loans </div>
<br>
<div class="blue" style="color:#0000DE; text-decoration:underline; font-size:15px;">HOW NOT TO BLOW IT WITH FINANCIAL AID</div> 
<div>What do last year’s bonus, your kids’ straight As and the money grandma socked away for their education have in common?... <a href="">more</a></div>
<div class="green" style="color:#70B143;">Financesherpas > Loans </div>
<br>

<div class="line" style="border-bottom: 1px solid #B9B9BB; margin-bottom: 20px;"></div>

<div class="green" style="color:#000; font-size:13px; margin-bottom:0px;">Results 1 to 5</div>
<img src="http://www.financesherpas.com/wp-content/uploads/2012/10/back2.png" alt="" title="back" width="10" height="12" class="alignleft size-full wp-image-1030" style="padding-top: 2px; display:inline;" /> 
Page 1 of 28
<img src="http://www.financesherpas.com/wp-content/uploads/2012/10/next.png" alt="" title="next" width="10" height="12" size-full wp-image-1031" style="margin-left: 10px; display:inline; " />

<div class="alignright style="color:#0000DE; text-decoration:underline; font-size:15px;">Ads by Google</div>
<div class="blue" style="color:#0000DE; text-decoration:underline; font-size:15px; padding-top: 10px;">American Express® <strong>Cards</strong></div> 
<div class="green" style="color:#70B143;">www.americanexpress.com/</div>
<div>See Our Most Popular Cards. Compare Credit Cards & More.</div>
<br>
<div class="blue" style="color:#0000DE; text-decoration:underline; font-size:15px;">Apply for a <strong>Credit Card</strong> </div>
<div class="green" style="color:#70B143;">www.creditcardguide.com</div>
<div>Select a Card That Right for You 0% intro, Low APR, Cash Back</div>
<br>
<div class="blue" style="color:#0000DE; text-decoration:underline; font-size:15px;">Navy Federal <strong>Credit</strong> Union</div> 
<div class="green" style="color:#70B143;">www.navyfederal.org/</div>
<div>Get A Navy Federal Credit Card To Fit Your Lifestyle - Apply Online!</div>
<br>
<div class="blue" style="color:#0000DE; text-decoration:underline; font-size:15px;"><strong>Credit Cards</strong> in 60 Seconds </div>
<div class="green" style="color:#70B143;">www.creditcard321.com/Get-Card-Today</div>
<div>Good Credit? Bad Credit? No Credit? Top 50 Credit Cards for Any Credit!</div>
<br>
<div class="blue" style="color:#0000DE; text-decoration:underline; font-size:15px;">2012 Best <strong>Credit Cards</strong> </div>
<div class="green" style="color:#70B143;">www.creditcards.org/Apply-Now</div>
<div>Looking for the Best Credit Card? 0% APR, Rewards, Mastercard & Visa.</div> <br>

<div class="line" style="border-bottom: 1px solid #B9B9BB; margin-bottom: 20px;"></div>

<a href="http://www.financesherpas.com/personal-finance/6-credit-mistakes-that-can-ruin-your-holidays/"><img src="http://www.financesherpas.com/wp-content/uploads/2012/10/6-credit-mistakes.png" alt="" title="6-credit-mistakes" width="289" height="110" size-full wp-image-1039" style="float:left;" /></a>

<a href="http://www.financesherpas.com/investing/6-waysto-cash-in-on-dividends/"><img src="http://www.financesherpas.com/wp-content/uploads/2012/10/6-way-to-cash-in.png" alt="" title="6-way-to-cash-in" width="289" height="110" class="alignright size-full wp-image-1038" /></a>

</div>'

; ?>


</section>

						<?php endif; ?>
		
						<?php if ($this['modules']->count('innerbottom')) : ?>
						<section id="innerbottom" class="grid-block"><?php echo $this['modules']->render('innerbottom', array('layout'=>$this['config']->get('innerbottom'))); ?></section>
						<?php endif; ?>
		
					</div>
					<!-- maininner end -->
					
					<?php if ($this['modules']->count('sidebar-a')) : ?>
					<aside id="sidebar-a" class="grid-box"><?php echo $this['modules']->render('sidebar-a', array('layout'=>'stack')); ?></aside>
					<?php endif; ?>
					
					<?php if ($this['modules']->count('sidebar-b')) : ?>
					<aside id="sidebar-b" class="grid-box"><?php echo $this['modules']->render('sidebar-b', array('layout'=>'stack')); ?></aside>
					<?php endif; ?>
		
				</div>
				<?php endif; ?>
				<!-- main end -->
		
				<?php if ($this['modules']->count('bottom-a')) : ?>
				<section id="bottom-a" class="grid-block"><?php echo $this['modules']->render('bottom-a', array('layout'=>$this['config']->get('bottom-a'))); ?></section>
				<?php endif; ?>
				
				<?php if ($this['modules']->count('bottom-b')) : ?>
				<section id="bottom-b" class="grid-block"><?php echo $this['modules']->render('bottom-b', array('layout'=>$this['config']->get('bottom-b'))); ?></section>
				<?php endif; ?>
				
				<?php if ($this['modules']->count('footer + debug') || $this['config']->get('warp_branding')) : ?>
				<footer id="footer" class="grid-block">
		
					<?php if ($this['config']->get('totop_scroller')) : ?>
					<a id="totop-scroller" href="#page"></a>
					<?php endif; ?>
		
					<?php
						echo $this['modules']->render('footer');
						$this->output('warp_branding');
						echo $this['modules']->render('debug');
					?>
		
				</footer>
				<?php endif; ?>
				
			</div>
				
		</div>

	</div>
	
	<?php echo $this->render('footer'); ?>
	
</body>
</html>